﻿using System;

namespace MosCraft.Blocks
{
    class BlockLog : Block
    {
        public BlockLog(int id)
            : base(id, 20, Material.Wood)
        {
        }

        public override int getBlockTexture(BlockFace face)
        {
            if (face == BlockFace.Top ||
                face == BlockFace.Bottom )
            {
                return 21;
            }
            else
            {
                return base.textureUV;
            }
        }
    }
}
